/**
 * @author João Luís Palma Cardeira - hippie.stereo@gmail.com
 * @version 1.0
 * @date 06/06/2013
 * @copyright (C) :-)
 * @note Applicação para o trabalho de EDA 2012/2013
 * @see main : RunApp
 */
import java.util.*;

class RandomCLS
{

	/** 
	 * nomMethode - XXX
	 * @return [description]
	 * @param [parameter-name] [description]
	 * @param [parameter-name] [description]
	 * @exception   Exception1  description de la première exception 
	 * @see UneAutreClasse#UneAutreMethode 
	 */
	
	protected double[] fillListRandom(double inNunElements, double inMinNum, double inMaxNum)
	{
		Random randomGenerator = new Random();
		
		double listRan[] = new double[(int) inNunElements];
	
		for(int i = 0; i < inNunElements; i++)
		{
			double randomInt = (randomGenerator.nextDouble() * (inMaxNum - inMinNum)) + inMinNum;
			listRan[i] = randomInt;
		}

		return listRan;
	}
}